package com.remoting.tools;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONType;
/**
 * token生成策略
 * <p>说明:</p>
 * <li></li>
 * @author DuanYong
 * @since 2017年8月31日下午1:38:37
 */
@JSONType(orders = { "scope", "apis", "expiredTime"})
public class Policy {
	/**作用域*/
	private String scope;
	/**API集合*/
	private List<String> apis = new ArrayList<String>();
	/**超时时间*/
	private Date expiredTime;
	
	public String getScope() {
		return scope;
	}
	public void setScope(String scope) {
		this.scope = scope;
	}
	public List<String> getApis() {
		return apis;
	}
	public void setApis(List<String> apis) {
		this.apis = apis;
	}
	public Date getExpiredTime() {
		return expiredTime;
	}
	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}
	
}
